﻿using System;
/*
    Write a program that enters 5 numbers (given in a single line, separated by a space), calculates and prints their sum.
 */
class NToOneNumbers
{
    static void Main()
    {
        Console.WriteLine("Enter 5 number in a separate line: ");
        double numberA = double.Parse(Console.ReadLine());
        double numberB = double.Parse(Console.ReadLine());
        double numberC = double.Parse(Console.ReadLine());
        double numberD = double.Parse(Console.ReadLine());
        double numberE = double.Parse(Console.ReadLine());
        double sum = numberA + numberB +numberC + numberD + numberE;
        Console.WriteLine("{0} {1} {2} {3} {4} | The sum of numbers is: {5}", 
            numberA, numberB, numberC, numberD, numberE, sum);
        Console.WriteLine();
    }
}
